<?
include_once "gblinclude.lib";

global $gblDBConnect;

$msgId = $_GET["msg_id"];

$sql = "DELETE FROM tc_shop_game_news WHERE msg_id=".$msgId;
	
$resObj = new CDataObject();
try
{
	$res = $gblDBConnect->execute($sql);
	$resObj->success = true;
}
catch(Exception $ex)
{
	$resObj->success = false;
	LogError("PDO ERR [Delete Message Fucntion]  ___ ".$ex->getMessage());
	LogError("SQL  ___ ".$sql);
}
	
echo json_encode($resObj);
exit;

?>
